import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import moment from 'moment'
import * as echarts from 'echarts'
import 'element-ui/lib/theme-chalk/index.css'

// 渲染全局组件
import Components from '@/components'

Vue.use(ElementUI)
Vue.prototype.$moment = moment
Vue.prototype.$echarts = echarts
Vue.use(Components)

new Vue({
  router,
  store,

  render: (h) => h(App)
}).$mount('#app')
